package com.psp.web.persist.dao;

import com.psp.web.model.UserBean;
import com.psp.web.model.UserLoginLogBean;
import com.psp.web.model.UserUpdateLogBean;

public abstract interface UserDao {
	public abstract int insert(UserBean paramUserBean);

	public abstract UserBean selectOneByPhone(String paramString);

	public abstract UserBean selectOneByEmail(String paramString);

	public abstract UserBean selectOne(String uid);

	public abstract int updateState(String paramString, int paramInt);

	public abstract int updateLoginTime(String uid);

	public abstract int updatePwd(UserBean user);

	public abstract int updateUser(UserBean user);

	public abstract int insertLoginLog(UserLoginLogBean userLoginLog);

	public abstract int insertUpdateLog(UserUpdateLogBean userUpdateLog);

	public abstract UserBean selectActiveUserByEmail(String email);

}
